
app.controller("ctrl-fenlei",function($scope,$http){
	
	$scope.add=function(index){
		$('#ee>li').eq(index).children(".shuju").stop().slideToggle();
	}
	$scope.sou=function(){
		$scope.name=$scope.name1;
	}
	$http.get("data/shuju.json").success(function(data){
//		console.log(data.fenlei);
		$scope.arr=data;
		
	})
})
